Angular displacement sensing system and method using brushless DC motor commutation hall effect sensors

ABSTRACT

A method and system for sensing angular displacement is provided. More specifically, the system includes a brushless DC motor, three Hall effect sensors, an angular displacement signal processor, and an output state observer. The Hall effect sensors provide three electrical angles of the motor rotor which are used in an angular displacement signal processor that is implemented in hardware and software. The angular displacement signal processor provides an improved resolution angular displacement output. Based on the angular displacement output from angular displacement signal processor and the motor control command signal from the motor drive, an output state observer is applied to generate a high resolution angular displacement signal.

TECHNICAL FIELD

[0001] The present invention generally relates to a system and method for sensing an angle or angular displacement. More specifically, the invention relates to a system and method for sensing an angle or angular displacement with improved resolution in a system with a brushless DC motor using Hall effect sensors.

BACKGROUND

[0002] Conventional sensing technologies employed to determine the angle or angular displacement of a shaft of a motion control system include encoders, resolvers, and potentiometers. These sensing technologies are readily available, however, they require a fair amount of space to connect to the shaft. Further, these technologies can also be quite costly when implemented in a high volume product.

[0003] However, less costly prior art technology for measuring angular displacement of a shaft of a motion control system is available. This technology utilizes three Hall effect sensors mounted in a brushless DC motor to provide motor commutation signals. The three Hall effect sensor signals are indicative of three electrical angles of the motor rotor. Brushless motors produce motion according to the commutation logic based on these three electrical angles of the motor rotor measured by the Hall effect sensors.

[0004] The use of the Hall effect sensors in conjunction with a brushless motor provides a much more cost effective method of sensing the angular displacement of the shaft of a motion control system. The Hall effect technology also employs no moving parts resulting in higher reliability. The disadvantage of using Hall effect sensors in the brushless motor to sense angular displacement of a shaft of a motion control system, is that the angular measurement resolution is typically lower than that of an encoder, resolver, or potentiometer.

[0005] Additionally, known techniques of processing Hall effect sensor signals to provide an angle or angular displacement have included the use of an index position signal to track the number of shaft resolutions. The index position requires an additional sensor and additional processing hardware. The additional components increase the cost and complexity of the angle sensing system for applications which only require a relative angle measurement and a continuous angular output. The resolution of angle measurement is also limited by the resolution of the hardware devices. In view of the above, it is apparent that there exists a need for a system and method for sensing the angle and angular displacement of a shaft using low cost Hall effect sensors with improved resolution.

SUMMARY

[0006] In satisfying the above need, as well as overcoming the enumerated drawbacks and other limitations of the prior art, in an embodiment of the present invention a system and a method for sensing the angle and angular displacement in a system with a DC brushless motor using Hall effect sensors is provided. More specifically, three Hall effect sensors are mounted in the DC motor. The Hall effect sensors provide three electrical angles of the motor rotor which are used in an angular displacement signal processor that is implemented in hardware and software. The angular displacement signal processor provides an improved resolution angular displacement output. Based on the angular displacement output from the angular displacement signal processor and the motor control command signal from the motor drive, an output state observer is applied to generate a high resolution angular displacement signal referred to as the observed angular displacement.

[0007] In an embodiment of the present invention, the Hall effect sensor signals are communicated to a angular displacement signal processor. The angular displacement signal processor includes three functional blocks. The first functional block determines the direction of the angular displacement using two of the Hall effect sensor signals. The second functional block combines the three Hall effect sensor signals to provide a pulse signal which has a frequency that is six times the frequency of each Hall effect sensor signal. The pulse signal from the second functional block and the angular direction signal from the first functional block are provided to a third functional block. The third functional block is a counter block that provides a continuous output corresponding to the angular displacement.

[0008] The angular output of the angular displacement signal processor can then be provided as an input to an output state observer. The output state observer receives the motor control command signal from the motor drive and the angular displacement signal from the angular displacement signal processor to generate an angular displacement signal with a high resolution termed the observed angular displacement.

[0009] In another embodiment, the Hall effect sensor signals are communicated to three encoder interface circuits. The two of the three Hall effect sensor signals are distributed to the inputs of each encoder interface circuit. The output from the encoder interface circuits are provided to a mathematical operation unit which generates an angular displacement signal with six times resolution to each of the Hall effect sensor signals.

[0010] In another aspect of the invention the output of the mathematical operation unit is provided to an output state observer. The output state observer receives the angular displacement signal from the mathematical operation unit and the motor control command signal from the motor drive to generate the observed angular displacement signal.

[0011] Additional benefits and advantages of the present invention will become apparent to those skilled in the art to which the present invention related from the subsequent description of the preferred embodiment and the appended claims, taken in conjunction with the accompanying drawings.

BRIEF DESCRIPTION OF THE DRAWING

[0012]FIG. 1 is a schematic diagram of an angular displacement sensing system including a brushless DC motor;

[0013]FIG. 2 is a block diagram of an angular displacement sensing system including a motor and its drive, Hall effect sensors, an angular displacement signal processor, and an output state observer in accordance with present invention;

[0014]FIG. 3(a) is a plot of the phase A output of the first Hall effect sensor;

[0015]FIG. 3(b) is a plot of the phase B output of the second Hall effect sensor;

[0016]FIG. 3(c) is a plot of phase C of the third Hall effect sensor;

[0017]FIG. 4 is a plot of the output of the logic processing unit;

[0018]FIG. 5 is a plot of the output of the counter;

[0019]FIG. 6 is a block diagram of another embodiment of the angular displacement sensing system;

[0020]FIG. 7 is a block diagram illustrating a general output state observer in the angular displacement sensing system in accordance with present invention.

[0021]FIG. 8 is a plot of the input and output of the output state observer.

DETAILED DESCRIPTION

[0022] Now referring to FIG. 1, an angular displacement sensing system 12 is provided according to an embodiment of the present invention. The angular displacement sensing system 12 includes a brushless DC motor 14, a motor drive 16, an angular displacement signal processor 18 and output state observer 19. The brushless DC motor 14 uses three Hall effect sensors to provide motor commutation signals and uses a motor drive 16 to implement control for motor torque output. The angular displacement signal processor 18 receives the Hall effect sensor signals 13 from three Hall effect sensors mounted in the brushless DC motor 14, and generates an improved resolution angular displacement output 15. Based on the angular displacement output 15 from angular displacement signal processor 18 and motor drive input signal 47 from the motor drive 16, an output state observer 19 generates a high resolution angular displacement signal 17 which is referred to as the observed angular displacement 17.

[0023] Now referring to FIGS. 2-5, an angular displacement sensing system 20 and Hall effect sensor signal output plots embodying the principles of the present invention are illustrated. FIG. 2 shows the angular displacement sensing system including a brushless DC motor 22 with three Hall effect sensors 26, the motor drive 16, an angular displacement signal processor 72 and an output state observer 19. The three Hall effect sensors 26 are mounted into the motor 22 and motor drive 16 is in communication with motor 22 to control motor movement according to commutation logic based on the signals of three Hall effect sensors 26. Three Hall effect sensors 26 generate three sensor signals 40, 42 and 44 indicative of the angular displacement of a rotor in motor 22. The first sensor signal 40 as shown in FIG. 3(a) is a series of pulses. FIG. 3(b) shows the second sensor signal 42. The second sensor signal 42 is shifted 120° out of phase with the first sensor signal 40. FIG. 3(c) shows the third sensor signal 44. The third sensor signal 44 is 240° out of phase with the first sensor signal 40. The three sensor signals 40, 42 and 44 are received by a buffer circuit 28. The buffer circuit 28 transmits the sensor signals to the angular displacement signal processor 72.

[0024] The angular displacement signal processor 72, shown in FIG. 2, includes an I/O port 30, a direction processing functional block 32, a pulse processing functional block 34, and a counter functional block 36. The angular displacement signal processor 72 can be implemented using a software program in an embedded system or using a hardware circuit. The software program implementation for an embedded system is described below.

[0025] The output signals of the buffer circuit 28, Hall effect sensor output signals 40, 42 and 44, are received by the I/O port 30 and read into the embedded system. I/O port 30 transmits two of the three Hall effect sensor signals 40, 42, and 44 to the direction processing functional block 32. The direction processing functional block 32 indicates the direction of rotation of the brushless DC motor 22 according to the phase information using two of the Hall effect sensor signals 40, 42 and 44.

[0026] For example, Hall effect sensor signals 40, 42 are transmitted to direction processing functional block 32. The value 0 is generated for output signal 45 by the direction processing functional block 32 to indicate clockwise rotation of motor 22 when Hall effect sensor signal 40 indicates phase A is in a high logic state (signal value 1) and Hall effect sensor signal 42 indicates phase B is in a low logic state (signal value 0). The value 1 is generated for output signal 45 by the direction processing functional block 32 to indicate counter-clockwise rotation of motor 22 when Hall effect sensor signal 40 indicates phase A is in a low logic state and Hall effect sensor signal 42 indicates phase B is in a high logic state.

[0027] The I/O port 30 also transmits the three Hall effect sensor signals 40, 42, 44 to the pulse processing functional block 34 in FIG. 2. The pulse processing functional block 34 combines the three Hall effect sensor signals 40, 42, 44 to create a continuous pulse signal 46 by a logical operation as shown in FIG. 4. The frequency of continuous pulse signal 46 is six times of the frequency of the Hall effect sensor signals 40, 42, 44.

[0028] The counter function block 36 combines the output signal 45 from the direction processing functional block 32 and the continuous pulse signal 46 from the pulse processing functional block 34 to generate an angular displacement signal 48 with direction indication. The angular displacement signal 48 is a continuous signal, as shown in FIG. 5, created by incrementing or decrementing the count for each pulse of the continuous pulse signal 46 provided by the pulse processing functional block 34. Thus, the angular displacement signal processor 72 in FIG. 2 generates a continuous angular displacement output signal with improved resolution relative to the pulse signals of Hall effect sensors 26. The angular displacement signal 48 can achieve a resolution of 1/(6×pole number of the motor 22 ).

[0029] Now referring to FIG. 6, another embodiment of the angular displacement sensing system provides for a angular displacement signal processor 74 including three encoder interface circuits 50, 52, 54 and an integrated processing unit 58 for performing a mathematical operation 56. Encoder interface circuits 50, 52, and 54 are known devices which receive two phase-shifted digital signals from an incremental encoder to produce a continuous angle signal with indication of direction. One such encoder interface circuit is commercially available on the DS 3001 incremental encoder interface board manufactured by dSPAC Gmbh of Paderborn, Germany.

[0030] As shown in FIG. 6, three Hall effect sensor signals 40, 42, 44 are communicated to the encoder interface circuits 50, 52, 54 in the angular displacement signal processor 74. The first Hall effect sensor signal 40 and the third Hall effect sensor signal 44 are connected to the first encoder interface circuit 50. The first encoder interface circuit 50 combines Hall effect sensor signals 40, 44 to generate the first output signal 60. The first Hall effect sensor signal 40 and the second Hall effect sensor signal 42 are connected to the second encoder interface circuit 52 to generate the second output signal 64. The second Hall effect sensor signal 42 and the third Hall effect sensor signal 44 are connected to the third encoder interface circuit 54. The third encoder interface circuit 54 combines the Hall effect sensor signals 42, 44 to generate the third output signal 65. Output signals 60, 64, 65 from encoder interface circuits 50, 52, 54 are received by the integrated signal unit 58 and provided as input signals to the math operation 56.

[0031] The mathematical operation 56 performs a real time processing on the three output signals 60, 64, 65 from encoder interface circuits 50, 52, 54, shown in FIG. 6, to generate an angular displacement signal 66. For example, the output signals 60, 64, 65 are processed according to the relationship ${\alpha = {\sum\limits_{i = 1}^{3}{\theta_{i}/3}}};$

[0032] where α corresponds to the angular displacement signal 66 and θ_(i) corresponds to the encoder interface circuit output signals 60, 64, 65.

[0033] As one skilled in the art will appreciate, many mathematical operations may be effectively used to generate an angular displacement signal 66 from output signals 60, 64, 65 of the encoder interface circuits 50, 52, 54.

[0034] As mentioned above, the output state observer 19 shown in FIG. 1 can be used in cooperation with either embodiment of the present invention. As shown in FIG. 2, the output state observer 19 receives the angular displacement signal 48 from the angular displacement signal processor 72 and the motor control command signal 47 to generate a high resolution angular displacement signal 49. Alternatively, as shown in FIG. 6, the angular displacement signal 66 from the angular displacement signal processor 74, and the motor control command signal 47 from motor drive 16 are received by the output state observer 19. Output state observer 19 generates a high resolution angular displacement signal 68 which is referred to as the observed angle or observed angular displacement.

[0035] Now referring to FIGS. 7 and 8 to describe the general implementation of the output state observer 19 with reference to FIG. 1, the output state observer 19 receives the angular displacement signal (θ_(disp)) 15 from angular displacement signal processor and the motor control command signal (u_(c)) 47 from the motor drive to generate the observed angular displacement (θ_(obs)) 17. The state space equation description of the output state observer in FIG. 7 is given as follows:

{dot over ({circumflex over (x)})}=A{circumflex over (x)}+Bu _(c) +K(θ_(disp) −C{circumflex over (x)})  (1a)

θ_(obs) =C{circumflex over (x)}  (1b)

[0036] where θ_(disp) is the input angular displacement signal from the angular displacement signal processor; u_(c) is the motor control command signal from motor drive 16; θ_(obs) is the resultant observed angular displacement signal 17 generated by the output state observer 19; {circumflex over (x)} is the state to be observed; {dot over ({circumflex over (x)})} is a derivative of state {circumflex over (x)}; K is the observer gain which is determined by the output state observer design; A, B, and C are matrices indicative of the controlled plant model between the motor control command signal u_(c) and angular displacement signal θ_(disp). To provide additional background information on the functioning of a signal state observer “Parameterization of observers for time delay systems and its application in observer design”, IEE Proceedings: Control Theory and Applications 143, 3 May 1996, IEE p 225-232 1350-2379 by Yao, Y. X.; Zhang, Y. M.; Kovacevic, R; is incorporated herein by reference.

[0037] In this embodiment, the output state observer provides angular displacement θ_(obs) based on angular displacement signal θ_(disp) and motor control command signal u_(c) by using the system described in Equations (1a) and (1b) and shown in the block diagram of FIG. 7. The output state observer receives the angular displacement signal θ_(disp) from the angular displacement signal processor and subtracts θ_(disp) with the observed angular displacement θ_(obs)=C{circumflex over (x)} to generate error signal (θ_(disp)−C{circumflex over (x)}). The output state observer uses the observer gain K to minimize the error (θ_(disp)−C{circumflex over (x)}) in Equations (1a) and (1b). The observed angular displacement signal θ_(obs) is smoothed to improve the resolution relative to the angular displacement signal θ_(disp).

[0038] The controlled plant model between the motor control command signal u_(c) and angular displacement signal θ_(disp) is modeled as follows:

{dot over (x)}=Ax+Bu _(c)  (2a)

θ_(disp) =Cx  (2b)

[0039] where θ_(disp) is the angular displacement signal from the angular displacement signal processor, u_(c) is the motor control command signal from the motor drive, x are states of the controlled plant, {dot over (x)} is derivative of state x, and A, B, and C are constant matrices. The output state observer in Equations (1a) and (1b) provides an observation for the angular displacement signal θ_(disp) based on the controlled plant description (2a) and (2b). The constant matrices A, B, and C determine the order and parameters of the controlled plant.

[0040] The output state observer 19 provides a higher resolution output signal. More specifically, the output state observer 19 in FIG. 7 acts as a signal predictor for the angular displacement signal 15. The observer 19 minimizes the error between the angular displacement signal 15 and observed angular displacement signals 17.

[0041]FIG. 8 shows a plot of the angular displacement signal 15 as an input of the output state observer 19 (shown in FIG. 7) and the observed angular displacement as an output 17 of the output state observer 19 (shown in FIG. 7). The plot in FIG. 8 illustrates that the output state observer 19 (shown in FIG. 7) provides smooth observed angular displacement signal 17 with the minimal acceptable time delay relative to the angular displacement signal 15.

[0042] The present invention has many advantages and benefits over the prior art. For example, the present invention provides a high resolution signal suitable for steer-by-wire applications. Further, the present invention has high reliability and a significantly lower cost as compared to alternatives offered by the prior art.

[0043] As a person skilled in the art will readily appreciate, the above description is meant as an illustration of implementation of the principals of this invention. This description is not intended to limit the scope or application of this invention in that the invention is susceptible to modification, variation and change, without departing from the spirit of this invention, as defined in the following claims. 

I claim:
 1. An angular displacement sensing system for sensing the angular displacement of a shaft of a motion control system comprising: a brushless DC motor having a rotor, the brushless DC motor being driven by a motor control command signal; a plurality of sensors mounted in the brushless DC motor, wherein the plurality of sensors produce a plurality of sensor signals indicative of an angular displacement of the rotor; and a device adapted to receive the plurality of sensor signals, the device being further adapted to combine the plurality of sensor signals to create a first angular displacement signal, wherein the first angular displacement signal is processed in conjunction with the motor control command signal to generate a second angular displacement signal.
 2. The angular displacement sensing system according to claim 1, the device including a microprocessor.
 3. The angular displacement sensing system according to claim 1, the device including an angular displacement signal processor.
 4. The angular displacement sensing system according to claim 3, the angular displacement signal processor including a pulse processing functional block for processing the sensor signals to generate a pulse signal.
 5. The angular displacement sensing system according to claim 4, the angular displacement signal processor including a direction processing functional block for processing the sensor signals to generate a direction signal.
 6. The angular displacement sensing system according to claim 5, the angular displacement signal processor including a counter functional block for processing the pulse signals and the direction signal to generate the first angular displacement signal.
 7. The angular displacement sensing system according to claim 1, the device including an output state observer functional block for processing the first angular displacement signal and the motor control command signal to generate the second angular displacement signal.
 8. The angular displacement sensing system according to claim 1, wherein the first angular displacement signal is processed with the motor control command signal to generate the second angular displacement signal in accordance with a relationship: {dot over ({circumflex over (x)})}=A{circumflex over (x)}+Bu _(c) +K(θ_(disp) −Cθ _(obs)):θ_(obs) =C{circumflex over (x)}; where θ_(disp) is the first angular displacement signal; u_(c) is the motor control command signal; A, B, and C are constant matrices indicative of a controlled plant model between the motor control command signal (u_(c)) and the first angular displacement signal (θ_(disp)); K is the observer gain which is determined by the output state observer design to minimize the error of (θ_(disp)−Cθ_(obs)); θ_(obs) is the second angular displacement signal; {circumflex over (x)} is a state to be observed; and {dot over ({circumflex over (x)})} is a derivative of state {circumflex over (x)}.
 9. The angular displacement sensing system according to claim 1, wherein the plurality of sensors has three sensors.
 10. The angular displacement sensing system according to claim 1, wherein the first angular displacement signal has a frequency six times each of the sensor signals of the plurality of sensor signals.
 11. An angular displacement sensing system comprising: a brushless DC motor having a rotor, the brushless DC motor being driven by a motor control command signal; a plurality of sensors mounted in the brushless DC motor, wherein the plurality of sensors produce a plurality of sensor signals indicative of an angular position of the rotor; a plurality of encoder interface circuits coupled to the plurality of sensors, the plurality of encoder interface circuits being adapted to generate a plurality of intermediate signals using the plurality of sensor signals; and an integrated unit coupled to the plurality of encoder interface circuits, the integrated unit being adapted to receive the plurality of intermediate signals, the integrated unit being adapted to perform a mathematical operation on the plurality of intermediate signals to provide a first angular displacement signal.
 12. The angular displacement sensing system according to claim 11, wherein each of the encoder interface circuit of the plurality of encoder interface circuits receives two sensor signals of the plurality of sensor signals.
 13. The angular displacement sensing system according to claim 11, wherein the mathematical operation, is an averaging operation in accordance with the relationship ${\alpha = {\sum\limits_{i = 1}^{z}{\theta \quad {i/z}}}};$

wherein α corresponds to the first angular displacement signal, θi corresponds to the plurality of intermediate signals generated by the plurality of encoder interface circuits, and z corresponds to a number of signals contained in the plurality of intermediate signals.
 14. The angular displacement sensing system according to claim 11, wherein the first angular displacement signal is processed with the motor control command signal to produce a second angular displacement signal.
 15. The angular displacement sensing system according to claim 14, wherein the first angular displacement signal is processed with the motor control command signal to generate the second angular displacement signal in accordance with the relationship: {dot over ({circumflex over (x)})}=A{circumflex over (x)}+Bu _(c) +K(θ_(disp) −Cθ _(obs)):θ_(obs) =C{circumflex over (x)}; where θ_(disp) is the first angular displacement signal; u_(c) is the motor control command signal; A, B, and C are constant matrices indicative of the controlled plant model between the motor control command signal (u_(c)) and the first angular displacement signal (θ_(disp)); K is the observer gain which is determined by the output state observer design to minimize the error of (θ_(disp)−Cθ_(obs)); θ_(obs) is the second angular displacement signal; {circumflex over (x)} is a state to be observed; and {dot over ({circumflex over (x)})} is a derivative of state {circumflex over (x)}.
 16. The angular displacement sensing system according to claim 14 wherein the plurality of encoder interface circuits has three encoder interface circuits and the plurality of sensor signals has three sensor signals.
 17. The angular displacement sensing system according to claim 16, wherein the first sensor signal and the second sensor signal are connected to the first encoder interface circuit, the first sensor signal and the third sensor signal are connected to the second encoder interface circuit, and the second sensor signal and the third sensor signal are connected to the third encoder interface circuit.
 18. A method for sensing angular displacement, wherein a brushless DC motor includes a rotor and a plurality of sensors are mounted in the brushless DC motor, the method comprising: measuring a plurality of sensor signals indicative of the angular displacement of the rotor using the plurality of sensors; calculating a direction signal using the plurality of sensor signals; combining the plurality of sensor signals to produce a plurality of intermediate signals; combining the plurality of intermediate signals with the direction signal to calculate a first angular displacement signal; and calculating a second angular displacement signal by processing a motor control command signal and the first angular displacement signal.
 19. The method for sensing angular displacement according to claim 18, wherein calculating a second angular displacement signal is in accordance with the relationship: {dot over ({circumflex over (x)})}=A{circumflex over (x)}+Bu _(c) +K(θ_(disp) −Cθ _(obs)):θ_(obs) =C{circumflex over (x)}; where θ_(disp) is the first angular displacement signal; u_(c) is the motor control command signal; A, B, and C are constant matrices indicative of the controlled plant model between the motor control command signal (u_(c)) and the first angular displacement signal (θ_(disp)); K is the observer gain which is determined by the output state observer design to minimize the error of (θ_(disp)−Cθ_(obs)); θ_(obs) is the second angular displacement signal; and {circumflex over (x)} is a state to be observed; and {dot over ({circumflex over (x)})} is a derivative of state {circumflex over (x)}.
 20. A method for sensing angular displacement, wherein a brushless DC motor includes a rotor and a plurality of sensors are mounted in the brushless DC motor, the method comprising: measuring a plurality of sensor signals indicative of the angular displacement of the rotor using the plurality of sensors; combining the plurality of sensor signals using a plurality of encoder interface circuits to produce a plurality of intermediate signals; and combining the plurality of intermediate signals using a mathematical operation to provide a first angular displacement signal.
 21. The angular sensing system according to claim 20, wherein the mathematical operation, is an averaging operation in accordance with the relationship $\alpha = {\sum\limits_{i = 1}^{z}{\theta \quad {i/z}}}$

where α corresponds to the first angular displacement signal, θi corresponds to the plurality of intermediate signals calculated by the encoder interface circuits, and z corresponds to a number of signals contained in the plurality of intermediate signals.
 22. The method for sensing angular displacement according to claim 20, comprising calculating a second angular displacement signal by combining a motor control command signal and the fist angular displacement signal.
 23. The method for sensing angular displacement according to claim 20, wherein calculating a second angular displacement signal is in accordance with the relationship: {dot over ({circumflex over (x)})}=A{circumflex over (x)}+Bu _(c) +K(θ_(disp) −Cθ _(obs)):θ_(obs) =C{circumflex over (x)}; where θ_(disp) is the first angular displacement signal; u_(c) is the motor control signal; A, B, and C are constant matrices indicative of the controlled plant model between the motor control signal (u_(c)) and the first angular displacement signal (θ_(disp)); K is the observer gain which is determined by the output state observer design to minimize the error of (θ_(disp)−Cθ_(obs)); θ_(obs) is the second angular displacement signal; {circumflex over (x)} is a state to be observed; and {dot over ({circumflex over (x)})} is a derivative of state {circumflex over (x)}. 